/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package components;

/**
 *
 * @author icdev
 */
import java.awt.Color;
import java.io.Serializable;
import javax.swing.JLabel;


public class ShapeMarkerMasure extends JLabel implements Serializable{
    public ShapeMarkerMasure()
    {
        super();
        setText("------------------------------------------------------------------------------------------------------------------------");
        setBackground(Color.white);
        setOpaque(true);
        setForeground(Color.red);
        setLocation(50, 100);
        setSize(300, 1);
    }
    public void setWidth(int width)
    {
        this.setSize(width,1);
    }
}
